import request from '@/utils/request'

// 增
export function saveUserInfo(data) {
  return request({
    url: '/user/userInfo',
    method: 'put',
    data
  })
}

// 删
export function deleteUserInfo(data) {
  return request({
    url: '/user/userInfo',
    method: 'delete',
    data
  })
}

// 改
export function updateUserInfo(data) {
  return request({
    url: '/user/userInfo',
    method: 'post',
    data
  })
}

// 查
export function getUserInfo() {
  return request({
    url: '/user/userInfo',
    method: 'get'
  })
}

// Vo列表
export function getUserInfoVoList(data) {
  return request({
    url: '/user/userInfoVoList',
    method: 'post',
    data
  })
}
